import request from '@/utils/request'

// 查询考试分配学员列表
export function listScore_ex_exam_allot(query) {
    return request({
        url: '/score/score_ex_exam_allot/list',
        method: 'get',
        params: query
    })
}

// 查询考试分配学员详细
export function getScore_ex_exam_allot(id) {
    return request({
        url: '/score/score_ex_exam_allot/' + id,
        method: 'get'
    })
}

// 新增考试分配学员
export function addScore_ex_exam_allot(data) {
    return request({
        url: '/score/score_ex_exam_allot',
        method: 'post',
        data: data
    })
}

// 修改考试分配学员
export function updateScore_ex_exam_allot(data) {
    return request({
        url: '/score/score_ex_exam_allot',
        method: 'put',
        data: data
    })
}

// 删除考试分配学员
export function delScore_ex_exam_allot(id) {
    return request({
        url: '/score/score_ex_exam_allot/' + id,
        method: 'delete'
    })
}
